﻿using System;
using System.Data;
using ET;
using DAL;
namespace BLL
{
    public class MCK_Holiday_BLL
    {
        public static MCK_Holiday_DAL Cls = new MCK_Holiday_DAL();

        #region Getdata
        public static DataTable GetData_MCK_Holiday(string keywords)
        {
            return Cls.GetData_MCK_Holiday(keywords);
        }
        public static DataTable GetDataRow_MCK_HolidayDetail(int id)
        {
            return Cls.GetDataRow_MCK_Holiday(id);
        }
        #endregion

        #region Insert
        public static bool Insert_MCK_Holiday(MCK_Holiday_ET obj)
        {
            return Cls.InsertMCK_Holiday(obj);
        }
        public static bool InsertMCK_Holiday_Detail(int id, DateTime date)
        {
            return Cls.InsertMCK_Holiday_Detail(id, date);
        }
        #endregion

        #region Update
        public static bool Update_MCK_Holiday(MCK_Holiday_ET obj)
        {
            return Cls.UpdateMCK_Holiday(obj);
        }
        #endregion

        #region Delete
        public static bool Delete_MCK_Holiday(int id)
        {
            return Cls.DeleteMCK_Holiday(id);
        }
        public static bool DeleteMCK_Holiday_Detail(int id)
        {
            return Cls.DeleteMCK_Holiday_Detail(id);
        }
        #endregion
    }
}